CMAKE_MINIMUM_REQUIRED(VERSION 2.8 FATAL_ERROR)

ADD_DEFINITIONS(-DG_MODULES)

# Physics
GAddModule(GBullet		PLATFORMS Windows Unix Darwin DEFAULT)
GAddModule(GPhysX		PLATFORMS Windows)

# Sound
GAddModule(GOpenAL		PLATFORMS Windows Unix Darwin DEFAULT)
GAddModule(GDirectSound	PLATFORMS Windows)

# Input
GAddModule(GRawInput	PLATFORMS Windows DEFAULT)
GAddModule(GXInput		PLATFORMS Windows)
GAddModule(GDirectInput	PLATFORMS Windows)

# Graphics
GAddModule(GOpenGL		PLATFORMS Windows Unix Darwin DEFAULT)
GAddModule(GMantle		PLATFORMS Windows Unix Darwin)
GAddModule(GDirect3D10	PLATFORMS Windows)
GAddModule(GDirect3D11	PLATFORMS Windows)